<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let data = {
            english: { one: { sum: 0 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } },
            fine: { one: { sum: 3 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } },
            math: { one: { sum: 0 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } },
            mess: { one: { sum: 0 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } },
            must: { one: { sum: 6 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } },
            past: { one: { sum: 0 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } },
            sport: { one: { sum: 0 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } },
            tics: { one: { sum: 0 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } },
            total: { one: { sum: 0 }, two: { sum: 0 }, three: { sum: 0 }, four: { sum: 0 }, five: { sum: 0 }, six: { sum: 0 } }
        }
        console.log(data)
        let sum=0
        for (var i in data){ 
         sum+=data[i].one.sum
        }
        console.log(sum)
    </script>
</body>

</html>